#! /usr/bin/env python
# -*- coding: utf-8 -*-

# *************************************************************
#  Copyright (c) Huoty - All rights reserved
# 
#      Author: Huoty <sudohuoty@gmail.com>
#  CreateTime: 2016-10-22 13:11:18
# *************************************************************

class A(object):
    def foo(self):
        print "A.foo"

class B(A):
    def foo(self):
        print "B.foo"

class C(A):
    def foo(self):
        super(C, self).foo()
        print "C.foo"

b = B()
b.foo()
c = C()
c.foo()

